package com.yang.frost.blueberry.quartz.job;

import cn.hutool.core.date.DateUtil;
import com.yang.frost.blueberry.quartz.base.BaseJob;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * @author 10296
 * @date 2021/1/20
 * @Description:
 */
public class TestJob implements BaseJob {
    private Logger logger = LoggerFactory.getLogger(TestJob.class);
    @Override
    public void execute(JobExecutionContext jobExecutionContext) {
        logger.error("Hello Job>>>>>>>>>>>>>>>>> 执行时间: {}", DateUtil.now());
    }
}
